package com.example.vpdemo;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.ImageView;

//import com.bumptech.glide.Glide;
//import com.bumptech.glide.load.engine.DiskCacheStrategy;

public class Main4Activity extends AppCompatActivity {

    private ImageView viewById;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main4);
        viewById = (ImageView) findViewById(R.id.ma4_img);

//        Glide.with(Main4Activity.this)
//                .load(R.drawable.edupinggu)
////                .asGif()//加载动态图片，若现有图片为非gif图片，则直接加载错误占位图。
////                .diskCacheStrategy(DiskCacheStrategy.RESOURCE)
//                .into(viewById);
    }
}
